﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace TbShop.Web.Areas.Admin.Models
{
    public class SiteMapViewModels
    {
        public SiteMapViewModels()
        {
            ChildSiteMapViewModels = new List<ChildSiteMaps>();
        }
        public int Id { get; set; }
        public string Name { get; set; }
        public int OrderNum { get; set; }
        public string FontClass { get; set; }
        public string Code { get; set; }
        public string Url { get; set; }
        public string ModuleId { get; set; }
        public IEnumerable<ChildSiteMaps> ChildSiteMapViewModels { get; set; }
    }

    public class ChildSiteMaps
    {
        public int Id { get; set; }
        public int ParentId { get; set; }
        public string FontClass { get; set; }
        public string ModuleId { get; set; }
        public string Name { get; set; }
        public string Url { get; set; }
        public int OrderNum { get; set; }
        public string Code { get; set; }
    }
}